package edu.yuhf.mapper;

import edu.yuhf.domain.Type;

import java.util.List;

import org.apache.ibatis.annotations.*;
import org.apache.ibatis.type.JdbcType;

import javax.annotation.Resource;

public interface TypeMapper {

    @Select("select id,type_name,remark,sort from of_type order by sort")
    @Results(
            @Result(column = "type_name",property = "typeName",jdbcType = JdbcType.VARCHAR)
    )
    public List<Type> queryType();
}